import main from '@/view/main'

export default {
    path: '/schoolManage',
    component: main,
    meta: {
        title: '学校管理'
    },
    children: [
        {
            path: '',
            name: 'schoolManageList',
            meta: {
                title: '学校管理'
            },
            component: _ => import('./school-list')
        },
        {
            path: 'add',
            name: 'schoolManageAdd',
            meta: {
                title: '新建学校'
            },
            component: _ => import('./school-add')
        },
        {
            path: ':id',
            name: 'schoolManageUpdate',
            meta: {
                title: '修改学校'
            },
            component: _ => import('./school-edit')
        }
    ]
}
